import request from '@/utils/request'

export default {
  getTeacherFrontList(current,teacherQuery) {
    return request({
      url: `/edu/teacherfront/getTeacherFrontList/${current}`,
      method: 'post',
      data: teacherQuery
    })
  },
  getTeacherInfoById(teacherId) {
    return request({
        url: `/edu/teacherfront/${teacherId}`,
        method: 'get'
    })
  },
  getCourseById(teacherId, current) {
    return request({
        url: `/edu/teacherfront/course/${teacherId}/${current}`,
        method: 'get'
    })
  },
}